﻿@model AlmaDatabase.Shop

@{
    ViewContext.Controller.ViewBag.Breadcrumb.Enter("Mon profil", "Edit", "User", new { id = Session["UserId"] });
    ViewContext.Controller.ViewBag.Breadcrumb.Enter("Suppression d'un magasin");
}
<div class="fullcol">
<h1>Etes vous sûre de vouloir supprimer ce magasin?</h1>
   <table>
    <tr>
        <th>
            Nom du magasin
        </th>
        <th>
            Email
        </th>
        <th>
            Telephone
        </th>
        <th>
            Fax
        </th>
        <th>
            Adresse
        </th>
        <th>
            Code Postal
        </th>
        <th>
            Ville
        </th>
        <th>
            Pays
        </th>
        <th>
            Produits
        </th>  
    </tr>
    <tr>
        <td>
            @Model.Name
        </td>
        <td>
            @Model.Email
        </td>
        <td>
            @Model.Phone
        </td>
        <td>
            @Model.Fax
        </td>
        <td>
            @Model.Address
        </td>
        <td>
            @Model.Zipcode
        </td>
        <td>
            @Model.Town
        </td>
        <td>
            @Model.Country
        </td>
        <td>
            @Html.ActionLink("Voir", "IndexByShopId", new { controller = "Product", shopId = Model.ID })
        </td>
    </tr>
</table>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Supprimer" />
    </p>
     @Html.ActionLink("Retour", "IndexByUserId", "Shop", new { id = Session["UserId"] })
}
</div>

